package com.nervenets.web.hibernate.domain;

import com.nervenets.web.enumeration.Gender;
import com.nervenets.web.hibernate.DomainObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * 看房预定
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Preordain extends DomainObject {
    private long managerId;
    private long buildingId;
    private long userId;
    private String name;
    @Column(columnDefinition = "tinyint")
    private Gender gender;
    private String mobile;
    private int handleTime;
}
